﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
namespace DemoGame1
{
    public class Global
    {
        public enum DifficultLevel
        {
            NORMAL,
            HARD,
        };

        public static DifficultLevel Difficult = DifficultLevel.NORMAL;
        public enum EVENTS
        {
            GM_PLAYER_DAMAGED,
            dfsdf,
            GM_CHARACTER_CHOSEN,
            GM_CONTINUE_GAME,
        };
        static public List<GameEntity> gameentity = new List<GameEntity>();
        static public myGame game1;
        static public void BroadcastEvent(EVENTS eventID, object sender, object arg)
        {
            for (int i = 0; i < gameentity.Count; i++)
            {
                gameentity[i].OnEvent(eventID, sender, arg);
            }

            game1.OnEvent(eventID, sender, arg);
        }
        public enum THEMES
        {
            KEN_THEME, RYU_THEME,
        };



    }
}
